﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<script src="Scripts/jquery-1.4.1.js" language="javascript" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
    $(document).ready(function () {
        $('#im').hover(function () {   
        
            $.ajax({
                type: "POST",
                contentType: "application/json; charset=utf-8",
                url: "Default.aspx/Test",
                data: "{}",
                dataType: "json",
                success: function (data) { $('#return').html(data.d); }
            })
    })
 })
</script>

    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div id="test">
        <img src="Images/total/B01.jpg" id="im" alt=""/>
       <input type="button" id="bt" value="asff" />
        <div id="return"></div>
    </div>
    </form>
</body>
</html>
